﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;
using Com.CMS263.DAO;

namespace Com.CMS263.BLL
{
    public class ProductImagesBLL : BaseBLL<ProductImage>
    {
        ProductImageDAO dao = new ProductImageDAO();
        public ProductImage entity = new ProductImage();
        public override ProductImage GetModel()
        {
            return entity;
        }

        public int GetMaxId()
        {
            return dao.GetMaxId();
        }
        public IList<ProductImage> GetListByPager(int productId, int page, int pagesize)
        {
            return dao.GetListByPager(productId, page, pagesize);
        }
        public int GetListByPager(int productId)
        {
            return dao.GetListByPager(productId);
        }
    }
}
